package com.ywz.project.system.dto.resp;

import com.ywz.project.base.system.entity.TSysPermission;
import com.ywz.project.base.system.entity.TSysRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 类描述 -> 角色分页响应对象
 *
 * @Author: ywz
 * @Date: 2024/11/21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description="角色分页响应")
public class RolePageResp extends TSysRole {
    @ApiModelProperty(value = "权限列表")
    private List<TSysPermission> permissions;
    @ApiModelProperty(value = "权限名称")
    private String permissionName;
}
